Skip to content

[Merged by Bors] - chore: use skip instead of -failIfUnchanged in the default tactic of Homeomorph#39758

Closed
gasparattila wants to merge 1 commit into
leanprover-community:masterfrom
gasparattila:homeomorph-tactic-skip
Closed

[Merged by Bors] - chore: use skip instead of -failIfUnchanged in the default tactic of Homeomorph#39758
gasparattila wants to merge 1 commit into
leanprover-community:masterfrom
gasparattila:homeomorph-tactic-skip

Conversation

@gasparattila

@gasparattila gasparattila commented May 23, 2026

Copy link
Copy Markdown
Contributor

This way, we do not try to call fun_prop again when dsimp could not make any simplification. This makes a difference only when the default tactic fails, so this change should not affect working code.


See the discussion in #37386.

Open in Gitpod

@github-actions

Copy link
Copy Markdown

PR summary 72f8cd4d03

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.


No changes to strong technical debt.
No changes to weak technical debt.

@github-actions github-actions Bot added the t-topology Topological spaces, uniform spaces, metric spaces, filters label May 23, 2026
@grunweg

grunweg commented May 23, 2026

Copy link
Copy Markdown
Contributor

Thanks! Can you update the PR description to summarise why this is better? (Otherwise, this is ready to merge.)

Are the other locations which benefit from this change? If so, do you mind updating them in this PR also?

@grunweg grunweg added the awaiting-author A reviewer has asked the author a question or requested changes. label May 23, 2026
@grunweg grunweg self-assigned this May 23, 2026
@gasparattila

Copy link
Copy Markdown
Contributor Author

I've updated the description. I think this is the only default tactic with -failIfUnchanged, but ContinuousLinearEquiv has a similar one without eta_expand and skip. I'll make a PR for that tomorrow.

-awaiting-author

@github-actions github-actions Bot removed the awaiting-author A reviewer has asked the author a question or requested changes. label May 23, 2026
@grunweg

grunweg commented May 24, 2026

Copy link
Copy Markdown
Contributor

Thanks!
bors merge

mathlib-bors Bot pushed a commit that referenced this pull request May 24, 2026
… of `Homeomorph` (#39758)

This way, we do not try to call `fun_prop` again when `dsimp` could not make any simplification. This makes a difference only when the default tactic fails, so this change should not affect working code.
@mathlib-triage mathlib-triage Bot added the ready-to-merge This PR has been sent to bors. label May 24, 2026
@mathlib-bors

mathlib-bors Bot commented May 24, 2026

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: use skip instead of -failIfUnchanged in the default tactic of Homeomorph [Merged by Bors] - chore: use skip instead of -failIfUnchanged in the default tactic of Homeomorph May 24, 2026
@mathlib-bors mathlib-bors Bot closed this May 24, 2026
b-mehta pushed a commit to b-mehta/mathlib4 that referenced this pull request Jun 2, 2026
… of `Homeomorph` (leanprover-community#39758)

This way, we do not try to call `fun_prop` again when `dsimp` could not make any simplification. This makes a difference only when the default tactic fails, so this change should not affect working code.
Bergschaf pushed a commit to Bergschaf/mathlib4 that referenced this pull request Jun 3, 2026
… of `Homeomorph` (leanprover-community#39758)

This way, we do not try to call `fun_prop` again when `dsimp` could not make any simplification. This makes a difference only when the default tactic fails, so this change should not affect working code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-topology Topological spaces, uniform spaces, metric spaces, filters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants